frame clock: Use compositor refresh rate info even if presentation time not set
authorAlexander Larsson <alexl@redhat.com>
Fri, 22 May 2020 13:30:05 +0000 (15:30 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 28 May 2020 13:12:32 +0000 (15:12 +0200)
commitf1215d2d776dd44e389b7c141eaac3f72942deae
tree1cce4f954b058d4806b6338803f20c5dcbf7bdeb
parent0ad73da68a8398343fb83fe7b364d38cca6d631c
frame clock: Use compositor refresh rate info even if presentation time not set

On my X11 + nvidia setup gnome-shell doesn't report presentation times.
However it does report refresh rate. We were mostly using this in our
calculation except when computing predicted presentation time, were
it fell back on the default 60Hz.
gdk/gdkframeclock.c